package com.example.demo.util;

import com.example.demo.pojo.Player;

public class IdThreadLocal {
    private IdThreadLocal(){}
    private static final ThreadLocal<Integer>  tl=new ThreadLocal<>();
    public static void put(Integer integer){
        tl.set(integer);
    }
    public static Integer get(){
        return tl.get();
    }
    public static void remove(){
        tl.remove();
    }
}
